package cn.itcast.order.client;

import cn.itcast.order.pojo.User;
import org.springframework.stereotype.Component;

@Component
public class UserFeignImpl implements UserFeign {
    @Override
    public User queryById(Long id) {
        User user = new User();
        user.setId(-1L);
        user.setUsername("出现异常");
        return user;
    }
}
